﻿using System;

namespace FbKPI.Model
{
    public class KPIAchievement : BaseAttribute
    {
        public KPIAchievement() 
        {
            ID = 0;
            KPIAssign = null;
            Month = 0;
            Year = 0;
            Realization = string.Empty;
            Score = string.Empty;
            StatusByUser = null;
            StatusByVerificator = null;
            Notes = string.Empty;
            isLocked = false;
            isActive = false;
            KPIAssign = new KPIAssign();
            MethodDtlId = 0;
            MethodDetail = new MethodDetail();
            isOneSelection = false;
            StatusByUser = new KPIStatus();
            StatusByVerificator = new KPIStatus();
        }
        public int ID { get; set; }
        public KPIAssign KPIAssign { get; set; }
        public int Month { get; set; }
        public int Year { get; set; }
        public string Realization { get; set; }
        public string Score { get; set; }
        public KPIStatus StatusByUser { get; set; }
        public KPIStatus StatusByVerificator { get; set; }
        public string Notes { get; set; }
        public bool isLocked { get; set; }
        public bool isActive { get; set; }
        public int MethodDtlId { get; set; }
        public MethodDetail MethodDetail { get; set; }
        public bool isOneSelection { get; set; }
    }
}